const { createProxyMiddleware } = require('http-proxy-middleware')

module.export = function(app){
    app.use(createProxyMiddleware('/api/sliderApi',{
        target:'lianjie',
        changeOrigin:true,
        pathRewrite:{
            '^api':''
        },
        'secure':true
    }))
}